package com.shop.cereshop.app.dao.message;

import com.shop.cereshop.app.param.message.MessageGetAllParam;
import com.shop.cereshop.commons.domain.message.CerePlatfromMessage;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CerePlatfromMessageDAO {
    int deleteByPrimaryKey(Long messageId);

    int insert(CerePlatfromMessage record);

    int insertSelective(CerePlatfromMessage record);

    CerePlatfromMessage selectByPrimaryKey(Long messageId);

    int updateByPrimaryKeySelective(CerePlatfromMessage record);

    int updateByPrimaryKey(CerePlatfromMessage record);

    CerePlatfromMessage getById(@Param("messageId") Long messageId);

    List<CerePlatfromMessage> getAll(MessageGetAllParam param);
}